﻿namespace WeWork.Model
{
    /// <summary>
    /// MarkDown格式消息
    /// </summary>
    public class ChatMarkDown : MsgChatRoomBase
    {
        /*
        {
            "msgid":"7546287934688259248_1603875715",
            "action":"send",
            "from":"ken",
            "tolist":["icef","test"],
            "roomid":"wr0SfLCgAAgCaCPeM33UNe",
            "msgtime":1603875715782,"msgtype":
            "markdown",
            "info":{
                "content":"请前往系统查看，谢谢。"
            }
        }
        */
        /// <summary>
        /// 消息内容
        /// </summary>
        public MarkDownInfo info { set; get; }
    }

    public class MarkDownInfo
    {
        /// <summary>
        /// markdown消息内容，目前为机器人发出的消息
        /// </summary>
        public string content { set; get; }
    }
}
